package io.renren.modules.weixin.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import io.renren.modules.weixin.entity.WxBindEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface WxBindDao extends BaseMapper<WxBindEntity> {
    WxBindEntity selectByFormName(String from);
    WxBindEntity selectByAdminName(String admin);
    void updataByFormName(@Param("value") String admin,@Param("key") String from);
}
